package pl.edu.uj.tcs.blef.utils;

public final class HighCard extends AbstractBet {

	private Card card;
	
	public HighCard(Card card){
		this.card = card;
	}

	@Override
	public String getCode() {
		return "ONE " + card.getCode();
	}

	@Override
	public String getName() {
		return "ONE " + card.getName();
	}

	@Override
	public int getPriority() {
		return card.getPriority();
	}
	
	public Card getCard(){
		return this.card;
	}
}
